package com.eascs.admin.o2o.recommend.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "o2o_recommend")
public class O2oRecommendEntity {

	@Id
	@Column(name = "id")
	private String id;// id
	@Column(name = "bill_code")
	private String billCode;// 流程编号
	@Column(name = "bill_status")
	private String billStatus;// 流程状态(数据字典-LCZT，NEW 新建，RUN 审核中，CLO 流程结束，BH 驳回)
	@Column(name = "is_type")
	private String isType;// 单椐状态（Y-正常，D-删除，T-作废）
	@Column(name = "user_name")
	private String userName;// 客户姓名
	@Column(name = "user_phone")
	private String userPhone;// 客户联系方式
	@Column(name = "document_no")
	private String documentNo;// 客户身份证编号
	@Column(name = "creator_no")
	private String creatorNo;// 创建人ID
	@Column(name = "creator_name")
	private String creatorName;// 创建人名字
	@Column(name = "creator_time")
	private Date creatorTime;// 创建时间
	
	@Column(name = "submit_no")
	private String submitNo;// 提交人ID
	@Column(name = "submit_name")
	private String submitName;// 提交人名字
	@Column(name = "submit_time")
	private Date submitTime;// 提交人时间
	
	@Column(name = "operator_no")
	private String operatorNo;// 经办人ID
	@Column(name = "operator_name")
	private String operatorName;// 经办人名字
	@Column(name = "operator_province_id")
	private String operatorProvinceId;// 经办人省区ID
	@Column(name = "operator_province_name")
	private String operatorProvinceName;// 经办人省区name
	
	@Column(name = "referrer_no")
	private String referrerNo;// 推荐人ID
	@Column(name = "referrer_name")
	private String referrerName;// 推荐人名字
	@Column(name = "referrer_province_id")
	private String referrerProvinceId;// 推荐人省区ID
	@Column(name = "referrer_province_name")
	private String referrerProvinceName;// 推荐人省区name
	@Column(name = "recommend_type")
	private String recommendType;// 推荐类型(数椐字典)
	
	//crm 中的数据
	@Column(name = "partner_id")
	private String partnerId;// 渠道ID(CRM中的数椐)
	@Column(name = "partner_code")
	private Date partnerCode;// 渠道编号(CRM中的数椐)
	@Column(name = "partner_name")
	private Date partnerName;// 渠道名称(CRM中的数椐)
	/*@Column(name = "brand_id")
	private String brandId;// 品牌ID(品牌表中的ID)
*/	
	//时间
	@Column(name = "share_start_date")
	private Date shareStartDate;// 共享开始日期
	@Column(name = "share_end_date")
	private Date shareEndDate;// 共享结束日期
	
	@Column(name = "sq_type")
	private String sqType;// 申请人类型（O:经办人，R推荐人）
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getBillCode() {
		return billCode;
	}
	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}
	
	public String getBillStatus() {
		return billStatus;
	}
	public void setBillStatus(String billStatus) {
		this.billStatus = billStatus;
	}
	public String getIsType() {
		return isType;
	}
	public void setIsType(String isType) {
		this.isType = isType;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPhone() {
		return userPhone;
	}
	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}
	public String getDocumentNo() {
		return documentNo;
	}
	public void setDocumentNo(String documentNo) {
		this.documentNo = documentNo;
	}
	public String getCreatorNo() {
		return creatorNo;
	}
	public void setCreatorNo(String creatorNo) {
		this.creatorNo = creatorNo;
	}
	public String getCreatorName() {
		return creatorName;
	}
	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}
	public Date getCreatorTime() {
		return creatorTime;
	}
	public void setCreatorTime(Date creatorTime) {
		this.creatorTime = creatorTime;
	}
	public String getSubmitNo() {
		return submitNo;
	}
	public void setSubmitNo(String submitNo) {
		this.submitNo = submitNo;
	}
	public String getSubmitName() {
		return submitName;
	}
	public void setSubmitName(String submitName) {
		this.submitName = submitName;
	}
	public Date getSubmitTime() {
		return submitTime;
	}
	public void setSubmitTime(Date submitTime) {
		this.submitTime = submitTime;
	}
	public String getOperatorNo() {
		return operatorNo;
	}
	public void setOperatorNo(String operatorNo) {
		this.operatorNo = operatorNo;
	}
	public String getOperatorName() {
		return operatorName;
	}
	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}
	public String getOperatorProvinceId() {
		return operatorProvinceId;
	}
	public void setOperatorProvinceId(String operatorProvinceId) {
		this.operatorProvinceId = operatorProvinceId;
	}
	public String getOperatorProvinceName() {
		return operatorProvinceName;
	}
	public void setOperatorProvinceName(String operatorProvinceName) {
		this.operatorProvinceName = operatorProvinceName;
	}
	public String getReferrerNo() {
		return referrerNo;
	}
	public void setReferrerNo(String referrerNo) {
		this.referrerNo = referrerNo;
	}
	public String getReferrerName() {
		return referrerName;
	}
	public void setReferrerName(String referrerName) {
		this.referrerName = referrerName;
	}
	public String getReferrerProvinceId() {
		return referrerProvinceId;
	}
	public void setReferrerProvinceId(String referrerProvinceId) {
		this.referrerProvinceId = referrerProvinceId;
	}
	public String getReferrerProvinceName() {
		return referrerProvinceName;
	}
	public void setReferrerProvinceName(String referrerProvinceName) {
		this.referrerProvinceName = referrerProvinceName;
	}
	public String getRecommendType() {
		return recommendType;
	}
	public void setRecommendType(String recommendType) {
		this.recommendType = recommendType;
	}
	public Date getShareStartDate() {
		return shareStartDate;
	}
	public void setShareStartDate(Date shareStartDate) {
		this.shareStartDate = shareStartDate;
	}
	public Date getShareEndDate() {
		return shareEndDate;
	}
	public void setShareEndDate(Date shareEndDate) {
		this.shareEndDate = shareEndDate;
	}
	public String getPartnerId() {
		return partnerId;
	}
	public void setPartnerId(String partnerId) {
		this.partnerId = partnerId;
	}
	public Date getPartnerCode() {
		return partnerCode;
	}
	public void setPartnerCode(Date partnerCode) {
		this.partnerCode = partnerCode;
	}
	public Date getPartnerName() {
		return partnerName;
	}
	public void setPartnerName(Date partnerName) {
		this.partnerName = partnerName;
	}
	/*public String getBrandId() {
		return brandId;
	}
	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}*/
	public String getSqType() {
		return sqType;
	}
	public void setSqType(String sqType) {
		this.sqType = sqType;
	}
	
}
